module.exports = {
  '/api/so-baidu-img': { // 搜图
    target: 'https://zj.v.api.aa1.cn',
    changeOrigin: true,
    pathRewrite: {
      '^/api/so-baidu-img': '/api/so-baidu-img'
    },
    secure: false
    // secure: true,
    // logLevel: 'debug' // 用于调试，输出详细的代理日志
  },
  '/api/qos': { // quectel 上传
    target: 'http://web-develop.quectel.com',
    changeOrigin: true,
    pathRewrite: {
      '^/api/qos': '/api/qos'
    },
    secure: false
  },
  '/api/weather': { // 天气
    target: 'https://www.mxnzp.com',
    changeOrigin: true,
    pathRewrite: {
      '^/api/weather': '/api/weather'
    },
    secure: false
  },
  '/api/oil': { // 油价
    target: 'https://www.mxnzp.com',
    changeOrigin: true,
    pathRewrite: {
      '^/api/oil': '/api/oil'
    },
    secure: false
  }
}